package conson.tech.manage.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.api.app.dto.AppAdvertDTO;
import conson.tech.manage.app.entity.vo.AppAdvertVo;
import conson.tech.manage.app.entity.vo.PageVo;

import java.util.List;

/**
 * InterfaceName: AppAdvertService
 * Description: app广告服务
 * Author: HXL
 * Date: 2020/4/22 6:58 下午
 * Version: 1.0
 */
public interface AppAdvertService {
    int createAdvert(AppAdvertVo vo);

    int updateAdvert(AppAdvertVo vo);

    Page<AppAdvertVo> queryAdvertPage(PageVo vo);

    int deleteAdvertById(Long id);

    List<AppAdvertDTO> queryAdvertListByPlaceId(Long placeId,Integer versionValue);
}
